<?php
class Admin_Model_User extends Zend_Db_Table{
    
    protected $_name="tbluser";
    protected $_primary="id";
    protected $db;
    public function __construct(){
    	parent::__construct();
    	$this->db=Zend_Registry::get('connectDb');
    }
    public function getUser(){
        $select=$this->db->select()->from('tbluser')->limit(2,1);
		return $this->db->fetchAll($select);	
    }
     public function listall(){
        return $this->fetchall()->toArray();
    }
    public function printAge(){
        return $this->age;
    }

    
}